package china.song314.testcode;

public class TestString {

	public static void main (String[] args) {
		String s = "1234567890";
		String s1 = "123";
		String msg = s.substring(s1.length() - 1);
		System.out.println(msg);
		
		String s3 = "1;2;3;4;4;;5";
		String[] sub = s3.split(";");
		for (int i = 0; i < sub.length; i++) {
			System.out.println(sub[i]);
		}
	}
}
